# -*- coding: utf-8 -*-

from django.conf.urls import url
from . import views

app_name = 'article'      # 指定app命名空间

urlpatterns = [
    url('update', views.update_article, name='updateArticle'),
    url('detail', views.article_detail, name='articleDetail'),
    url('like', views.article_like, name='articleLike'),
    url('comments', views.article_comments, name='articleComments'),
    url('list', views.article_list, name='articleList'),
    url('publish', views.article_publish, name='articlePublish'),
    url('unpublish', views.article_unpublish, name='articleUnpublish'),
    url('delete', views.article_delete, name='articleDelete'),
    url('collect', views.article_collect, name='articleCollect'),
    url('recommend', views.get_article_recommend, name='getArticleRecommend'),
]
